package com.situ.entity;

import com.alibaba.fastjson.JSONObject;
import java.util.*;
import java.time.*;
/**
 * BE_Order实体类
 * 
 * @author 
 *
 */
public class BeOrder {
	/***/
	private String OrderNo; 
	/***/
	private Integer OrderType; 
	/***/
	private Integer StepID; 
	/***/
	private String CreateDate;
	/***/
	private Integer CompleteEmp; 
	/***/
	private java.time.Instant CompleteDate; 
	/***/
	private String UserName; 
	/***/
	private String UserType; 
	/***/
	private String Address; 
	/***/
	private String LinkMan; 
	/***/
	private String Phone; 
	/***/
	private String UseTarget; 
	/***/
	private Integer HouseHeight; 
	/***/
	private Integer MaxAmount; 
	/***/
	private Integer MeterTypeID; 
	/***/
	private Integer MeterCount; 
	/***/
	private String UserRemark; 
	/***/
	private String PayType; 
	/***/
	private String BankCompany; 
	/***/
	private String BankNum; 
	/***/
	private String OldUserNo; 
	/***/
	private String OldUserName; 
	/***/
	private String OldUserPhone; 
	/***/
	private String OlduserAddr; 
	/***/
	private String OldMeter; 
	/***/
	private Integer AuditEmpID; 
	/***/
	private String AuditMessage; 
	/***/
	private Double ProjectMoney; 
	/***/
	private Double RealMoney; 
	/***/
	private java.time.Instant PayDate;
	private String PayDate1;
	private String PayDate2;
	private String OrderType1[];
	/***/
	private java.util.Date ProjectDate1;
	/***/
	private java.util.Date ProjectDate2;
	/***/
	private Integer AreaID; 
	/***/
	private String AbortCause; 
	/**
	 * 实例化
	 */
	public BeOrder() {
		super();
	}
	/**
	 * 实例化
	 * 
	 * @param obj
	 */
	public BeOrder(JSONObject obj) {
		this();
		if (obj.get("OrderNo") instanceof String) {
			this.setOrderNo((String) obj.get("OrderNo"));
		}
		if (obj.get("OrderType") instanceof Number) {
			this.setOrderType(((Number) obj.get("OrderType")).intValue());
		}
		if (obj.get("StepID") instanceof Number) {
			this.setStepID(((Number) obj.get("StepID")).intValue());
		}
		if (obj.get("CreateDate") instanceof String) {
			this.setCreateDate((String) obj.get("CreateDate"));
		}
		if (obj.get("CompleteEmp") instanceof Number) {
			this.setCompleteEmp(((Number) obj.get("CompleteEmp")).intValue());
		}
		if (obj.get("CompleteDate") instanceof java.time.Instant) {
			this.setCompleteDate((java.time.Instant) obj.get("CompleteDate"));
		}
		if (obj.get("UserName") instanceof String) {
			this.setUserName((String) obj.get("UserName"));
		}
		if (obj.get("UserType") instanceof String) {
			this.setUserType((String) obj.get("UserType"));
		}
		if (obj.get("Address") instanceof String) {
			this.setAddress((String) obj.get("Address"));
		}
		if (obj.get("LinkMan") instanceof String) {
			this.setLinkMan((String) obj.get("LinkMan"));
		}
		if (obj.get("Phone") instanceof String) {
			this.setPhone((String) obj.get("Phone"));
		}
		if (obj.get("UseTarget") instanceof String) {
			this.setUseTarget((String) obj.get("UseTarget"));
		}
		if (obj.get("HouseHeight") instanceof Number) {
			this.setHouseHeight(((Number) obj.get("HouseHeight")).intValue());
		}
		if (obj.get("MaxAmount") instanceof Number) {
			this.setMaxAmount(((Number) obj.get("MaxAmount")).intValue());
		}
		if (obj.get("MeterTypeID") instanceof Number) {
			this.setMeterTypeID(((Number) obj.get("MeterTypeID")).intValue());
		}
		if (obj.get("MeterCount") instanceof Number) {
			this.setMeterCount(((Number) obj.get("MeterCount")).intValue());
		}
		if (obj.get("UserRemark") instanceof String) {
			this.setUserRemark((String) obj.get("UserRemark"));
		}
		if (obj.get("PayType") instanceof String) {
			this.setPayType((String) obj.get("PayType"));
		}
		if (obj.get("BankCompany") instanceof String) {
			this.setBankCompany((String) obj.get("BankCompany"));
		}
		if (obj.get("BankNum") instanceof String) {
			this.setBankNum((String) obj.get("BankNum"));
		}
		if (obj.get("OldUserNo") instanceof String) {
			this.setOldUserNo((String) obj.get("OldUserNo"));
		}
		if (obj.get("OldUserName") instanceof String) {
			this.setOldUserName((String) obj.get("OldUserName"));
		}
		if (obj.get("OldUserPhone") instanceof String) {
			this.setOldUserPhone((String) obj.get("OldUserPhone"));
		}
		if (obj.get("OlduserAddr") instanceof String) {
			this.setOlduserAddr((String) obj.get("OlduserAddr"));
		}
		if (obj.get("OldMeter") instanceof String) {
			this.setOldMeter((String) obj.get("OldMeter"));
		}
		if (obj.get("AuditEmpID") instanceof Number) {
			this.setAuditEmpID(((Number) obj.get("AuditEmpID")).intValue());
		}
		if (obj.get("AuditMessage") instanceof String) {
			this.setAuditMessage((String) obj.get("AuditMessage"));
		}
		if (obj.get("ProjectMoney") instanceof Number) {
			this.setProjectMoney(((Number) obj.get("ProjectMoney")).doubleValue());
		}
		if (obj.get("RealMoney") instanceof Number) {
			this.setRealMoney(((Number) obj.get("RealMoney")).doubleValue());
		}
		if (obj.get("PayDate") instanceof java.time.Instant) {
			this.setPayDate((java.time.Instant) obj.get("PayDate"));
		}
		if (obj.get("ProjectDate1") instanceof java.time.Instant) {
			this.setProjectDate1((java.util.Date) obj.get("ProjectDate1"));
		}
		if (obj.get("ProjectDate2") instanceof java.time.Instant) {
			this.setProjectDate2((java.util.Date) obj.get("ProjectDate2"));
		}
		if (obj.get("AreaID") instanceof Number) {
			this.setAreaID(((Number) obj.get("AreaID")).intValue());
		}
		if (obj.get("AbortCause") instanceof String) {
			this.setAbortCause((String) obj.get("AbortCause"));
		}
	}
	
	/**
	 * 将当前对象转换为JsonObject
	 * 
	 * @return
	 */
	public JSONObject toJson() {
		JSONObject result = new JSONObject();
		if (this.getOrderNo() != null) {
			result.put("OrderNo",this.getOrderNo());
		}
		if (this.getOrderType() != null) {
			result.put("OrderType",this.getOrderType());
		}
		if (this.getStepID() != null) {
			result.put("StepID",this.getStepID());
		}
		if (this.getCreateDate() != null) {
			result.put("CreateDate",this.getCreateDate());
		}
		if (this.getCompleteEmp() != null) {
			result.put("CompleteEmp",this.getCompleteEmp());
		}
		if (this.getCompleteDate() != null) {
			result.put("CompleteDate",this.getCompleteDate());
		}
		if (this.getUserName() != null) {
			result.put("UserName",this.getUserName());
		}
		if (this.getUserType() != null) {
			result.put("UserType",this.getUserType());
		}
		if (this.getAddress() != null) {
			result.put("Address",this.getAddress());
		}
		if (this.getLinkMan() != null) {
			result.put("LinkMan",this.getLinkMan());
		}
		if (this.getPhone() != null) {
			result.put("Phone",this.getPhone());
		}
		if (this.getUseTarget() != null) {
			result.put("UseTarget",this.getUseTarget());
		}
		if (this.getHouseHeight() != null) {
			result.put("HouseHeight",this.getHouseHeight());
		}
		if (this.getMaxAmount() != null) {
			result.put("MaxAmount",this.getMaxAmount());
		}
		if (this.getMeterTypeID() != null) {
			result.put("MeterTypeID",this.getMeterTypeID());
		}
		if (this.getMeterCount() != null) {
			result.put("MeterCount",this.getMeterCount());
		}
		if (this.getUserRemark() != null) {
			result.put("UserRemark",this.getUserRemark());
		}
		if (this.getPayType() != null) {
			result.put("PayType",this.getPayType());
		}
		if (this.getBankCompany() != null) {
			result.put("BankCompany",this.getBankCompany());
		}
		if (this.getBankNum() != null) {
			result.put("BankNum",this.getBankNum());
		}
		if (this.getOldUserNo() != null) {
			result.put("OldUserNo",this.getOldUserNo());
		}
		if (this.getOldUserName() != null) {
			result.put("OldUserName",this.getOldUserName());
		}
		if (this.getOldUserPhone() != null) {
			result.put("OldUserPhone",this.getOldUserPhone());
		}
		if (this.getOlduserAddr() != null) {
			result.put("OlduserAddr",this.getOlduserAddr());
		}
		if (this.getOldMeter() != null) {
			result.put("OldMeter",this.getOldMeter());
		}
		if (this.getAuditEmpID() != null) {
			result.put("AuditEmpID",this.getAuditEmpID());
		}
		if (this.getAuditMessage() != null) {
			result.put("AuditMessage",this.getAuditMessage());
		}
		if (this.getProjectMoney() != null) {
			result.put("ProjectMoney",this.getProjectMoney());
		}
		if (this.getRealMoney() != null) {
			result.put("RealMoney",this.getRealMoney());
		}
		if (this.getPayDate() != null) {
			result.put("PayDate",this.getPayDate());
		}
		if (this.getProjectDate1() != null) {
			result.put("ProjectDate1",this.getProjectDate1());
		}
		if (this.getProjectDate2() != null) {
			result.put("ProjectDate2",this.getProjectDate2());
		}
		if (this.getAreaID() != null) {
			result.put("AreaID",this.getAreaID());
		}
		if (this.getAbortCause() != null) {
			result.put("AbortCause",this.getAbortCause());
		}
		return result;
	}
	
	
	/**
	 * 获取OrderNo
	 * 
	 * @return
	 */
	public String getOrderNo() {
		return OrderNo;
	}

	/**
	 * 设置OrderNo
	 * 
	 * @param OrderNo
	 */
	public void setOrderNo(String OrderNo) {
		this.OrderNo = OrderNo;
	}
	
	/**
	 * 获取OrderType
	 * 
	 * @return
	 */
	public Integer getOrderType() {
		return OrderType;
	}

	/**
	 * 设置OrderType
	 * 
	 * @param OrderType
	 */
	public void setOrderType(Integer OrderType) {
		this.OrderType = OrderType;
	}
	
	/**
	 * 获取StepID
	 * 
	 * @return
	 */
	public Integer getStepID() {
		return StepID;
	}

	/**
	 * 设置StepID
	 * 
	 * @param StepID
	 */
	public void setStepID(Integer StepID) {
		this.StepID = StepID;
	}
	
	/**
	 * 获取CreateDate
	 * 
	 * @return
	 */
	public String getCreateDate() {
		return CreateDate;
	}

	/**
	 * 设置CreateDate
	 * 
	 * @param CreateDate
	 */
	public void setCreateDate(String CreateDate) {
		this.CreateDate = CreateDate;
	}
	
	/**
	 * 获取CompleteEmp
	 * 
	 * @return
	 */
	public Integer getCompleteEmp() {
		return CompleteEmp;
	}

	/**
	 * 设置CompleteEmp
	 * 
	 * @param CompleteEmp
	 */
	public void setCompleteEmp(Integer CompleteEmp) {
		this.CompleteEmp = CompleteEmp;
	}
	
	/**
	 * 获取CompleteDate
	 * 
	 * @return
	 */
	public java.time.Instant getCompleteDate() {
		return CompleteDate;
	}

	/**
	 * 设置CompleteDate
	 * 
	 * @param CompleteDate
	 */
	public void setCompleteDate(java.time.Instant CompleteDate) {
		this.CompleteDate = CompleteDate;
	}
	
	/**
	 * 获取UserName
	 * 
	 * @return
	 */
	public String getUserName() {
		return UserName;
	}

	/**
	 * 设置UserName
	 * 
	 * @param UserName
	 */
	public void setUserName(String UserName) {
		this.UserName = UserName;
	}
	
	/**
	 * 获取UserType
	 * 
	 * @return
	 */
	public String getUserType() {
		return UserType;
	}

	/**
	 * 设置UserType
	 * 
	 * @param UserType
	 */
	public void setUserType(String UserType) {
		this.UserType = UserType;
	}
	
	/**
	 * 获取Address
	 * 
	 * @return
	 */
	public String getAddress() {
		return Address;
	}

	/**
	 * 设置Address
	 * 
	 * @param Address
	 */
	public void setAddress(String Address) {
		this.Address = Address;
	}
	
	/**
	 * 获取LinkMan
	 * 
	 * @return
	 */
	public String getLinkMan() {
		return LinkMan;
	}

	/**
	 * 设置LinkMan
	 * 
	 * @param LinkMan
	 */
	public void setLinkMan(String LinkMan) {
		this.LinkMan = LinkMan;
	}
	
	/**
	 * 获取Phone
	 * 
	 * @return
	 */
	public String getPhone() {
		return Phone;
	}

	/**
	 * 设置Phone
	 * 
	 * @param Phone
	 */
	public void setPhone(String Phone) {
		this.Phone = Phone;
	}
	
	/**
	 * 获取UseTarget
	 * 
	 * @return
	 */
	public String getUseTarget() {
		return UseTarget;
	}

	/**
	 * 设置UseTarget
	 * 
	 * @param UseTarget
	 */
	public void setUseTarget(String UseTarget) {
		this.UseTarget = UseTarget;
	}
	
	/**
	 * 获取HouseHeight
	 * 
	 * @return
	 */
	public Integer getHouseHeight() {
		return HouseHeight;
	}

	/**
	 * 设置HouseHeight
	 * 
	 * @param HouseHeight
	 */
	public void setHouseHeight(Integer HouseHeight) {
		this.HouseHeight = HouseHeight;
	}
	
	/**
	 * 获取MaxAmount
	 * 
	 * @return
	 */
	public Integer getMaxAmount() {
		return MaxAmount;
	}

	/**
	 * 设置MaxAmount
	 * 
	 * @param MaxAmount
	 */
	public void setMaxAmount(Integer MaxAmount) {
		this.MaxAmount = MaxAmount;
	}
	
	/**
	 * 获取MeterTypeID
	 * 
	 * @return
	 */
	public Integer getMeterTypeID() {
		return MeterTypeID;
	}

	/**
	 * 设置MeterTypeID
	 * 
	 * @param MeterTypeID
	 */
	public void setMeterTypeID(Integer MeterTypeID) {
		this.MeterTypeID = MeterTypeID;
	}
	
	/**
	 * 获取MeterCount
	 * 
	 * @return
	 */
	public Integer getMeterCount() {
		return MeterCount;
	}

	/**
	 * 设置MeterCount
	 * 
	 * @param MeterCount
	 */
	public void setMeterCount(Integer MeterCount) {
		this.MeterCount = MeterCount;
	}
	
	/**
	 * 获取UserRemark
	 * 
	 * @return
	 */
	public String getUserRemark() {
		return UserRemark;
	}

	/**
	 * 设置UserRemark
	 * 
	 * @param UserRemark
	 */
	public void setUserRemark(String UserRemark) {
		this.UserRemark = UserRemark;
	}
	
	/**
	 * 获取PayType
	 * 
	 * @return
	 */
	public String getPayType() {
		return PayType;
	}

	/**
	 * 设置PayType
	 * 
	 * @param PayType
	 */
	public void setPayType(String PayType) {
		this.PayType = PayType;
	}
	
	/**
	 * 获取BankCompany
	 * 
	 * @return
	 */
	public String getBankCompany() {
		return BankCompany;
	}

	/**
	 * 设置BankCompany
	 * 
	 * @param BankCompany
	 */
	public void setBankCompany(String BankCompany) {
		this.BankCompany = BankCompany;
	}
	
	/**
	 * 获取BankNum
	 * 
	 * @return
	 */
	public String getBankNum() {
		return BankNum;
	}

	/**
	 * 设置BankNum
	 * 
	 * @param BankNum
	 */
	public void setBankNum(String BankNum) {
		this.BankNum = BankNum;
	}
	
	/**
	 * 获取OldUserNo
	 * 
	 * @return
	 */
	public String getOldUserNo() {
		return OldUserNo;
	}

	/**
	 * 设置OldUserNo
	 * 
	 * @param OldUserNo
	 */
	public void setOldUserNo(String OldUserNo) {
		this.OldUserNo = OldUserNo;
	}
	
	/**
	 * 获取OldUserName
	 * 
	 * @return
	 */
	public String getOldUserName() {
		return OldUserName;
	}

	/**
	 * 设置OldUserName
	 * 
	 * @param OldUserName
	 */
	public void setOldUserName(String OldUserName) {
		this.OldUserName = OldUserName;
	}
	
	/**
	 * 获取OldUserPhone
	 * 
	 * @return
	 */
	public String getOldUserPhone() {
		return OldUserPhone;
	}

	/**
	 * 设置OldUserPhone
	 * 
	 * @param OldUserPhone
	 */
	public void setOldUserPhone(String OldUserPhone) {
		this.OldUserPhone = OldUserPhone;
	}
	
	/**
	 * 获取OlduserAddr
	 * 
	 * @return
	 */
	public String getOlduserAddr() {
		return OlduserAddr;
	}

	/**
	 * 设置OlduserAddr
	 * 
	 * @param OlduserAddr
	 */
	public void setOlduserAddr(String OlduserAddr) {
		this.OlduserAddr = OlduserAddr;
	}
	
	/**
	 * 获取OldMeter
	 * 
	 * @return
	 */
	public String getOldMeter() {
		return OldMeter;
	}

	/**
	 * 设置OldMeter
	 * 
	 * @param OldMeter
	 */
	public void setOldMeter(String OldMeter) {
		this.OldMeter = OldMeter;
	}
	
	/**
	 * 获取AuditEmpID
	 * 
	 * @return
	 */
	public Integer getAuditEmpID() {
		return AuditEmpID;
	}

	/**
	 * 设置AuditEmpID
	 * 
	 * @param AuditEmpID
	 */
	public void setAuditEmpID(Integer AuditEmpID) {
		this.AuditEmpID = AuditEmpID;
	}
	
	/**
	 * 获取AuditMessage
	 * 
	 * @return
	 */
	public String getAuditMessage() {
		return AuditMessage;
	}

	/**
	 * 设置AuditMessage
	 * 
	 * @param AuditMessage
	 */
	public void setAuditMessage(String AuditMessage) {
		this.AuditMessage = AuditMessage;
	}
	
	/**
	 * 获取ProjectMoney
	 * 
	 * @return
	 */
	public Double getProjectMoney() {
		return ProjectMoney;
	}

	/**
	 * 设置ProjectMoney
	 * 
	 * @param ProjectMoney
	 */
	public void setProjectMoney(Double ProjectMoney) {
		this.ProjectMoney = ProjectMoney;
	}
	
	/**
	 * 获取RealMoney
	 * 
	 * @return
	 */
	public Double getRealMoney() {
		return RealMoney;
	}

	/**
	 * 设置RealMoney
	 * 
	 * @param RealMoney
	 */
	public void setRealMoney(Double RealMoney) {
		this.RealMoney = RealMoney;
	}
	
	/**
	 * 获取PayDate
	 * 
	 * @return
	 */
	public java.time.Instant getPayDate() {
		return PayDate;
	}

	/**
	 * 设置PayDate
	 * 
	 * @param PayDate
	 */
	public void setPayDate(java.time.Instant PayDate) {
		this.PayDate = PayDate;
	}
	
	/**
	 * 获取ProjectDate1
	 * 
	 * @return
	 */
	public Date getProjectDate1() {
		return ProjectDate1;
	}

	public void setProjectDate1(Date projectDate1) {
		ProjectDate1 = projectDate1;
	}

	public Date getProjectDate2() {
		return ProjectDate2;
	}

	public void setProjectDate2(Date projectDate2) {
		ProjectDate2 = projectDate2;
	}

	/**
	 * 获取AreaID
	 * 
	 * @return
	 */
	public Integer getAreaID() {
		return AreaID;
	}

	/**
	 * 设置AreaID
	 * 
	 * @param AreaID
	 */
	public void setAreaID(Integer AreaID) {
		this.AreaID = AreaID;
	}
	
	/**
	 * 获取AbortCause
	 * 
	 * @return
	 */
	public String getAbortCause() {
		return AbortCause;
	}

	/**
	 * 设置AbortCause
	 * 
	 * @param AbortCause
	 */
	public void setAbortCause(String AbortCause) {
		this.AbortCause = AbortCause;
	}

	@Override
	public String toString() {
		return "BeOrder [OrderNo=" + OrderNo + " , OrderType=" + OrderType + " , StepID=" + StepID + " , CreateDate=" + CreateDate + " , CompleteEmp=" + CompleteEmp + " , CompleteDate=" + CompleteDate + " , UserName=" + UserName + " , UserType=" + UserType + " , Address=" + Address + " , LinkMan=" + LinkMan + " , Phone=" + Phone + " , UseTarget=" + UseTarget + " , HouseHeight=" + HouseHeight + " , MaxAmount=" + MaxAmount + " , MeterTypeID=" + MeterTypeID + " , MeterCount=" + MeterCount + " , UserRemark=" + UserRemark + " , PayType=" + PayType + " , BankCompany=" + BankCompany + " , BankNum=" + BankNum + " , OldUserNo=" + OldUserNo + " , OldUserName=" + OldUserName + " , OldUserPhone=" + OldUserPhone + " , OlduserAddr=" + OlduserAddr + " , OldMeter=" + OldMeter + " , AuditEmpID=" + AuditEmpID + " , AuditMessage=" + AuditMessage + " , ProjectMoney=" + ProjectMoney + " , RealMoney=" + RealMoney + " , PayDate=" + PayDate + " , ProjectDate1=" + ProjectDate1 + " , ProjectDate2=" + ProjectDate2 + " , AreaID=" + AreaID + " , AbortCause=" + AbortCause + "  ]";
	
	}

	public String getPayDate1() {
		return PayDate1;
	}

	public void setPayDate1(String payDate1) {
		PayDate1 = payDate1;
	}

	public String getPayDate2() {
		return PayDate2;
	}

	public void setPayDate2(String payDate2) {
		PayDate2 = payDate2;
	}

	public String[] getOrderType1() {
		return OrderType1;
	}

	public void setOrderType1(String[] orderType1) {
		OrderType1 = orderType1;
	}
}
